package com.example.houseman.controller;


import com.example.houseman.service.ITbHouseStyleService;
import com.org.dto.TbHouseStyleDto;
import com.org.vo.ResultEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 集中式房源-房型信息表 前端控制器
 * </p>
 *
 * @author 龚梦
 * @since 2021-04-01
 */
@RestController
@RequestMapping("/hou/TbHouseStyleController")
public class TbHouseStyleController {

    @Autowired
    private ITbHouseStyleService tbHouseStyleService;


    @RequestMapping("savehsl")
    public ResultEntity savehsl(@RequestBody TbHouseStyleDto tbHouseStyleDto){
       return tbHouseStyleService.savehsl(tbHouseStyleDto);
    }

}
